package com.ferryc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ferryc.entity.ProductCode;
import com.ferryc.entity.Products;
import com.ferryc.model.ProductTotal;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Ferry Chen on 2019-11-05.
 */
@Repository
public interface ProductsMapper extends BaseMapper<Products> {


    List<Products> queryList(Products products);

    List<ProductTotal> selectTotalByCode();
}
